<template>
	<view class="recommend bg-color">
		<!-- adj -->
		<!-- <image src="../../static/img/Children.jpg" mode=""></image> -->
		<view class="recommend-item" v-for="(item,index) in data" :key="index">
			<image class="item-big" :src="item.bigImgUrl" mode=""></image>
			<view class="item-small" >
				<block v-for="(k,i) in item.data" :key="i">
					<image class="item-img" :src="k.imgUrl" mode=""></image>
				</block>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		props:{
			data:Array
		},
		data() {
			return {
				
			}
		},
		methods: {
			
		}
	}
</script>

<style scoped>
.recommend{
	padding: 20rpx;
}
.recommend-item{
	display: flex;
	flex-direction: column;
	border-radius: 20rpx;
	border: 2rpx solid #ccc;
	overflow: hidden;
	margin: 20rpx 0;
}
.item-big{
	width: 100%;
	height: 300rpx;
}
.item-small{
	width: 100%;
	height: 240rpx;
}
.item-img{
	width: 33.3333%;
	height: 240rpx;
}
</style>
